AMENDED AND RESTATED SENIOR SECURED CREDIT AGREEMENT Dated as of December 22, 2016 among