AMENDMENT NO. 5 TO SECOND AMENDED AND RESTATED CREDIT AGREEMENT AND AMENDMENT TO OTHER LOAN DOCUMENTS