AMENDMENT NO. 6 TO NOTE PURCHASE AND GUARANTEE AGREEMENT