AMENDMENT NO. 2 AND WAIVER to Amended and Restated Loan and Security Agreement dated as of December 20, 1996