LOAN, SECURITY AND GUARANTY AGREEMENT dated as of