AMENDMENT NO. 4 TO CREDIT AGREEMENT AND CONFIRMATION OF GUARANTY AGREEMENT AND SECURITY DOCUMENTS