SECOND AMENDMENT TO REVOLVING CREDIT AND SECURITY AGREEMENT, TERM LOAN AND SECURITY AGREEMENTS, AND RELATED DOCUMENTS