Fourth Amended and Restated Security Agreement