WAIVER AND TENTH Amendment to SECOND AMENDED AND RESTATED Loan and security agreement