AMENDMENT NO. 6 TO THE CREDIT AGREEMENT AND AMENDMENT NO. 1 TO THE GUARANTEE AGREEMENT