SECOND AMENDMENT AND RESTATEMENT of the CREDIT AGREEMENT AND GUARANTY