AMENDED AND RESTATED GLOBAL SECURITY AGREEMENT