TENTH AMENDMENT TO THE THIRD AMENDED AND RESTATED CREDIT AGREEMENT