Amended and Restated Pledge and Security Agreement