AMENDED AND RESTATED GUARANTY FEE AGREEMENT