SIXTH AMENDMENT AND WAIVER TO NOTE PURCHASE AND GUARANTEE AGREEMENT