AMENDED AND RESTATED GUARANTY Dated as of February 6, 2012 between PETRÓLEO BRASILEIRO S.A.—PETROBRAS, as Guarantor, and THE BANK OF NEW YORK MELLON, as Trustee for the Noteholders Referred to Herein