SECOND AMENDED AND RESTATED LOAN AGREEMENT dated as of June 29, 2018 among