TERM LOAN CREDIT AND GUARANTY AGREEMENT dated as of November 1, 2017