Parliament approves Apache, BP amendments