Austin Powers: Goldmember

Dr. Evil plans to travel back in time to 1975 and bring back Johan van der Smut, aka "Goldmember", who developed a cold fusion unit for a tractor beam which Dr. Evil names "Preparation H". He intends to use the tractor beam to pull a meteor into the Earth, striking the polar ice caps and causing a global flood. Moments after this plan is revealed, Austin Powers and the British Secret Service attack the base and arrest Dr. Evil. Austin is knighted for his services, but is disappointed when his father, the famous super-spy Nigel Powers, does not attend the event. Basil Exposition later informs Austin that Nigel has been kidnapped, and the only clue is that the crew of his yacht have had their genitalia painted gold.
Austin visits the imprisoned Dr. Evil, who tells him that Goldmember is behind the abduction. Time-travelling to 1975, Austin infiltrates Goldmember's roller disco club and is reunited with his former lover, FBI agent Foxxy Cleopatra, who is undercover as a disco singer. With Foxxy's help, Austin locates his father, but is unable to rescue him. Goldmember takes Nigel through Dr. Evil's time machine into the present day. Foxxy wants revenge on Goldmember for murdering her partner, and accompanies Austin in his pursuit. In the present, Dr. Evil and Mini-Me instigate a riot in their prison, allowing them to escape. A British Intelligence mole named Number 3 informs Austin that Dr. Evil has moved to a new lair near Tokyo. Austin and Foxxy travel to Tokyo and confront Fat Bastard, who is now a sumo wrestler, but still does work for Dr. Evil. Fat Bastard explains that a Japanese business man, Mr. Roboto, is working on a device for Dr. Evil and Goldmember.
Austin and Foxxy later meet with Mr. Roboto, who pleads ignorance about Nigel's whereabouts. Unconvinced, Austin and Foxxy infiltrate Roboto's factory where the command unit for the tractor beam is being loaded in Goldmember's car, and Roboto hands Goldmember a golden key needed to activate the beam. Foxxy confronts Goldmember while Austin attempts to free Nigel, but Goldmember escapes with the command unit and flees to Dr. Evil's sub. Unable to settle their differences, Nigel and Austin part ways when they disagree on how to deal with the situation. Meanwhile, Dr. Evil's son, Scott Evil, has become increasingly evil in an attempt to prove himself to his father, to the point that he too is going bald. Scott presents his father with sharks with laser beams attached to their heads, a request that had gone unfulfilled in the first film. Dr. Evil replaces Mini-Me with Scott as his favored son; the rejected Mini-Me defects and joins Austin.
Austin, Foxxy and Mini-Me infiltrate the sub, but Austin is captured. Dr. Evil prepares to activate the tractor beam, but Foxxy has stolen the key and frees Austin. Austin prepares to shoot Dr. Evil, when Nigel appears and reveals Dr. Evil and Austin are brothers, separated when they were toddlers when an assassination attempt killed their mother, and Dr. Evil was found and raised by Belgians. Dr. Evil and Austin embrace, enraging Scott, who flees to pursue his own vengeance, whilst Goldmember commandeers the tractor beam's controls, unzipping his pants to reveal his gold-covered genitals to be a spare key. Goldmember activates the tractor beam, but Austin and Dr. Evil work together to reverse its polarity, destroying the meteor and saving the world. The heroes arrest Goldmember, who turns to the camera to reveal the entire string of events was adapted into a film by Steven Spielberg, starring Tom Cruise as Austin, Kevin Spacey as Dr. Evil, Danny DeVito as Mini-Me, and John Travolta as Goldmember. Austin, Foxxy, Dr. Evil, Mini-Me and Nigel are in the audience of a Hollywood theater watching the film. Upon exiting the theater they run into Fat Bastard, now thinner but flabby, thanks to the Subway diet. As Austin and Foxxy kiss, in Dr. Evil's Hollywood lair, Scott â now completely bald, dressed like and laughing in a manner similar to his fatherâdeclares he will get his revenge on Austin and begins dancing like Michael Jackson.

Question: Who steals the key and frees Austin?
Answer: Foxxy