SECOND AMENDMENT TO CREDIT AGREEMENT AND AMENDMENT TO GUARANTEE AND COLLATERAL AGREEMENT