AMENDMENT NO. 6 TO AMENDED AND RESTATED SENIOR SECURED REVOLVING CREDIT AGREEMENT