Question: What influenced the song, written by Ne-Yo, from Rihanna's second studio album?

Context paragraphs:
Unfaithful (song): "Unfaithful" is a song by Barbadian singer Rihanna from her second studio album "A Girl like Me" (2006).  It was written by Shaffer "Ne-Yo" Smith with the song's producers StarGate.  The song was released by Def Jam Recordings on May 2, 2006, as the second single from the album.  "Unfaithful" is a pop and R&B ballad and was inspired by the works of American rock band Evanescence.  Originally titled "Murderer", the single speaks about a woman who regrets cheating on her partner.

A Girl like Me (Rihanna album): A Girl like Me is the second studio album by Barbadian singer Rihanna.  It was released on April 10, 2006 by Def Jam Recordings.  For the production of the album, Rihanna worked with Evan Rogers, Carl Sturken, StarGate, J. R. Rotem and label-mate Ne-Yo, who wrote the album's second single.  "A Girl like Me" is a pop, reggae and R&B album influenced by Rihanna's Caribbean roots.  The album also incorporates elements of dancehall and rock, as well as ballads, which music critics were ambivalent towards.

Stupid in Love: "Stupid in Love" is a song recorded by Barbadian singer Rihanna for her fourth studio album, "Rated R" (2009).  The song was written by Shaffer Smith, Mikkel S. Eriksen and Tor Erik Hermansen, with production helmed by StarGate.  Ne-Yo served as the assistant producer.  It was written two days before Rihanna and then boyfriend Chris Brown's altercation on the night of the 2009 Grammy Awards, which occurred on February 8, 2009.  The lyrical content, which describes an abusive relationship, led Ne-Yo to describe the song as a "premonition".

Time of Our Lives (Pitbull and Ne-Yo song): "Time of Our Lives" is a song recorded by American rapper Pitbull and American R&B singer Ne-Yo for the former's eighth studio album "Globalization".  It also appears on Ne-Yo's album, "Non-Fiction".  It was released on November 17, 2014 as the third single from the album by RCA Records.  It was produced by Dr. Luke, Cirkut, Michael "Freakin" Everett and Lifted.  The song marks the second coming for Pitbull by Ne-Yo, following the smash-hit "Give Me Everything" (2011); co-producers Dr. Luke and Cirkut also mark their fourth joint production for Pitbull (after "Timber", "Wild Wild Love", and "We Are One (Ole Ola)") and third for Ne-Yo (after "She Knows" and T-Pain's "Turn All the Lights On").  It became Pitbull's most successful single from "Globalization", reaching number 9 on the "Billboard" Hot 100.  "Time of Our Lives" also went to number one on the US Rhythmic chart.

Rihanna videography: Barbadian singer Rihanna has released four video albums and appeared in fifty-two music videos, six films, ten television programs, and eight television commercials.  In 2005, Rihanna signed a recording contract with Def Jam Recordings and released her debut single "Pon de Replay", taken from her first studio album "Music of the Sun" (2005).  Like its lyrical theme, the music video for the song was inspired by disco and dance; it was directed by Little X.  Three separate videos were released for "SOS", the lead single from her second studio album "A Girl Like Me" (2006), all of which contained various dance sequences.  The same year, American director Anthony Mandler directed the accompanying music video for the second single "Unfaithful", which featured Rihanna in a dangerous love triangle with her lover and her husband.  "Unfaithful" was Rihanna's first collaboration with Mandler; they later worked together regularly.  Also in 2006, Rihanna played herself in the third installment of the "Bring It On" film series, entitled "".

Irreplaceable: "Irreplaceable" is a song recorded by American singer Beyoncé for her second studio album, "B'Day" (2006).  The song was written by Shaffer "Ne-Yo" Smith, Tor Erik Hermansen, Mikkel, S. Eriksen, Espen Lind, Amund Bjørklund, Beyoncé and produced by Stargate and Beyoncé.  "Irreplaceable" was originally a country record; it was re-arranged as a mid-tempo ballad with pop and R&B influences by modifying the vocal arrangements and instrumentation.  During the production and recording sessions, Beyoncé and Ne-Yo wanted to create a record which people of either gender could relate to.  The song's lyrics are about the breakdown of a relationship with an unfaithful man and the song contains a message about female empowerment.

List of Rihanna concert tours: Barbadian recording artist Rihanna has embarked on four concert tours, three of which have been worldwide.  Her 2006 debut, was based in North America only and supported her first and second studio album, "Music of the Sun" (2005) and "A Girl like Me" (2006).  The tour lasted for three months, through which Rihanna performed 36 shows.  The same year, Rihanna continued to tour as a special guest on the PCD World Tour with Pussycat Dolls, Roc the Block Tour with Jay-Z and Ne-Yo, and the Monkey Business Tour with Black Eyed Peas.  In the period from 2007 till 2009, she performed on the worldwide Good Girl Gone Bad Tour in a support of her third studio album with same name.  During the tour, Rihanna visited Europe, North America, Oceania, Asia and Africa.  It featured Rihanna presenting completely different style and wearing leather outfits.  The Good Girl Gone Bad Tour sparked controversy in Malaysia where the Pan-Malaysian Islamic Party recommended that Rihanna's concert tour should be banned due her provocative outfits.  A DVD, titled "Good Girl Gone Bad Live" was released on June 16, 2008.  It features the show from Evening News Arena in Manchester, England, held on December 6, 2007.

Go On Girl: "Go On Girl" is a song written by Ne-Yo, Tor Erik Hermansen, Mikkel S. Eriksen, Espen Lind and Amund Bjørklund, for Ne-Yo's second studio album "Because of You".  It was released to radio as the fourth single on December 4, 2007.  It has so far has peaked at number 29 on the "Billboard" Hot R&B/Hip-Hop Songs, giving Ne-Yo his tenth top forty hit on the chart.  Also, to date, it has peaked at number 96 on the "Billboard" Hot 100.

Right Now (Rihanna song): "Right Now" is a song by Barbadian recording artist Rihanna from her seventh studio album, "Unapologetic" (2012).  The song features French disc jockey David Guetta.  Rihanna co-wrote the song with R&B singers Ne-Yo and The-Dream, while their longtime collaborators, Norwegian production duo StarGate, co-produced the track alongside Guetta and his own longtime collaborators Nicky Romero and Giorgio Tuinfort.  It was sent to contemporary hit and rhythmic radios in the United States as the fourth international single and fifth overall from the album on May 28, 2013.  Musically, "Right Now" is an EDM song.  The lyrical content features Rihanna chanting to live life in the moment.

Turn Around (Conor Maynard song): "Turn Around" is a song by British singer Conor Maynard from his debut studio album, "Contrast".  The song features vocals from American singer Ne-Yo.  It was released as the album's third single as a digital download on 11 October 2012.  The song was produced by Stargate and Benny Blanco, who also co-wrote it with Ne-Yo.  This is another collaboration between StarGate and Benny Blanco, following such songs as Wiz Khalifa's "Work Hard, Play Hard" and Rihanna's "Diamonds".

Supporting paragraphs: Unfaithful (song) A Girl like Me (Rihanna album)
Answer: Caribbean roots