Fourth aMENDMENT to AMENDED AND RESTATED CREDIT AND SECURITY AGREEMENT (term LOAN)