AMENDMENT NO. 10 TO AMENDED AND RESTATED SENIOR SECURED CREDIT AGREEMENT