TENTH AMENDMENT TO THIRD AMENDED AND RESTATED CREDIT AGREEMENT AND RELATED SECURITY DOCUMENTS