Second Amendment to Credit Agreement and First Amendment to Guaranty and Collateral Agreement