Second AMENDED AND RESTATED GUARANTY AGREEMENT