SECOND AMENDMENT TO CREDIT AGREEMENT AND FIRST AMENDMENT TO AND REAFFIRMATION OF GUARANTEE AND COLLATERAL AGREEMENT