AMENDMENT NO. 3 TO CREDIT, SECURITY AND GUARANTY AGREEMENT