AMENDMENT NO. 6 TO AMENDED AND RESTATED CREDIT AGREEMENT and AMENDMENT NO. 1 TO GUARANTY