SECOND AMENDED AND RESTATED SUBORDINATED CREDIT, SECURITY, GUARANTY AND PLEDGE AGREEMENT Dated as of October 7, 2016 among