1 EXHIBIT 10.5 SECOND AMENDED AND RESTATED GUARANTY AGREEMENT Dated as of October 22, 1999