AMENDMENT NO. 10 TO AMENDED AND RESTATED NOTE PURCHASE AGREEMENT