In 2016, Mendler produced her second studio album. Mendler discussed some of the producers and songwriters she was working with for the new album, including Mitch Allan, Dan Book, Alexei Misoul, Augie Ray, Beloryze, TMS, Ina Wroldsen, and Steve Mac. On August 4, 2016, Mendler announced the title of her new single, "Atlantis", featuring Kaiydo, which was released on August 26, 2016. The EP, Nemesis, was released on November 18. In October 2016 Mendler was cast as Ashley Willerman on the fifth season of the CMT television series Nashville. On February 3, 2017, Mendler announced her new single, "Temperamental Love" featuring Devontée. The music video was featured the Youtuber Jam in The Van. On February 10, Mendler was cast in lead role of the Fox comedy television pilot Thin Ice, created by Elizabeth Meriwether, but the network ultimately passed on the pilot in May. In May 2017 it was announced that Mendler will star in the Netflix comedy film Who Do You Think Would Win? along with David Spade, Joey Bragg, Matt Shively and Jackie Sandler. On August 25, 2017, Mendler released the third single from her upcoming album titled "Diving" with American group RKCB. The official music video was released hours after the release of the song.