Amendment No. 2 to CREDIT, SECURITY AND GUARANTY AGREEMENT