Exhibit 10.6 SECOND AMENDED AND RESTATED CLASS B NOTE PURCHASE AGREEMENT Dated as of November 5, 2003