SECOND AMENDED AND RESTATED CREDIT AGREEMENT dated as of September 15, 2017 among