Sixth Amended and Restated Security Agreement