TENTH AMENDMENT TO SECOND AMENDED AND RESTATED TERM LOAN AGREEMENT