AMENDMENT NO. 6 TO SIXTH AMENDED AND RESTATED CREDIT AND SECURITY AGREEMENT