EXHIBIT 10.22 Amended and Restated Loan and Security Agreement by and between