AMENDMENT NO. 6 TO SECOND LIEN NOTE PURCHASE AGREEMENT