The group hope the songs Warren has written for them will give them US chart success after they signed up to Def Jam Records in the States earlier this year.
Speaking about the collaboration, band member Jay McGuiness told the Daily Star: "We're with Def Jam Records in America and they have a relationship with Diane so they set it all up.
"They told her all about us, then she did a bit of research and wrote us a song called 'Rocket'. It was really flattering."
He continued: "If you walk down her hall she's got discs for millions of record sales. We don't know who sings what – we all sang the whole thing but Nathan [Sykes] killed it. He suits the American vocal."
Fellow bandmate Siva Kaneswaran added: "When she played us a song it was like a stream of magic was falling from her head."
The Wanted also revealed that while recording in Los Angeles, David and Victoria Beckham invited them to watch an LA Galaxy football match with their three sons.
Tom Parker explained: "It was pretty crazy meeting them." Sykes added: "They were singing 'All Time Low' at us and were better singers than us."
The band further said that they plan to meet up with the Beckhams again in the future, with McGuiness adding: "Victoria sent a message to say she wants to take the boys to our arena tour next year, which is brilliant news."
The Wanted recently revealed plans to collaborate with N-Dubz on a track for their upcoming album.
> The Wanted announce first UK arena tour
Watch the music video for The Wanted's number one single 'Glad You Came' below: