AMENDED AND RESTATED LOAN FACILITY AGREEMENT AND GUARANTY by and among