AMENDED AND RESTATED SECURITY AGREEMENT Dated as of April 25, 2011