Second Amended and Restated Guaranty Agreement