EXHIBIT 10.39 AMENDED AND RESTATED INTERCREDITOR AND LIEN SUBORDINATION AGREEMENT