AMENDMENT NO. 10 TO THE CREDIT AGREEMENT