AMENDMENT NO. 4 TO FIRST AMENDED AND RESTATED LOAN AND SECURITY AGREEMENT