SECOND AMENDMENT TO CREDIT AND GUARANTY AGREEMENT