EXECUTION VERSION THIRD REFINANCING TERM LOAN AMENDMENT AND AMENDMENT AND RESTATEMENT AGREEMENT