FIRST AMENDMENT TO SECOND AMENDED AND RESTATED CREDIT AND SECURITY AGREEMENT (TERM LOAN)