Second Amendment to Amended and Restated Loan and Security Agreement