Country fans may want to check out Kesha's forthcoming new album, Rainbow: Dolly Parton makes an appearance on the disc. Together, the two sing "Old Flames (Can't Hold a Candle to You)."

"Old Flames (Can't Hold a Candle to You)" was originally recorded by Parton for her 1980 album, Dolly Dolly Dolly; released as a single, it hit No. 1 on the country charts. Kesha's mother, Rosemary Patricia "Pebe" Sebert, co-wrote the song with Hugh Moffatt.

Previously, Kesha recorded an acoustic version of "Old Flames (Can't Hold a Candle to You)" for her 2013 EP, Deconstructed. Kesha (full name Kesha Rose Sebert) was born in Los Angeles in 1987, but her mother moved the family to Nashville in 1991; Kesha attended both Franklin High School and Brentwood High School, both located in Nashville-area suburbs.

Rainbow, due out on Aug. 11 via Kemosabe and RCA, will be Kesha's first album since filing a lawsuit against her producer Dr. Luke (Lukasz Sebastian Gottwald) in 2014, accusing him of sexual assault and battery. In return, Dr. Luke filed a lawsuit against Kesha, her mother and her lawyer, alleging defamation and breach of contract. Due to the legal proceedings, Kesha has been unable to record new music until now; in August of 2016, she dropped her lawsuit.

Artists Who Have Unexpectedly Released Country Projects

Unforgettable Dolly Parton Moments

More From TheBoot