SECOND AMENDMENT TO CREDIT AGREEMENT AND REAFFIRMATION OF SUBSIDIARY GUARANTY