It was previously reported that the 2008 X Factor contestant Lorenzo had written a track for her former mentor, and Minogue was apparently very keen to use the song.
Lorenzo played the song to a heavily-pregnant Minogue over dinner, reports The Sun.
Lorenzo said: "[Dannii] was rocking out with her big belly doing air guitar. She loved it.
"I said if she wanted to sing it she could have it. We got in the studio and it was so much fun."
The paper also reports that Lorenzo and Minogue have been working on other songs together for the Australian's new album.
> Dannii Minogue: 'Scary recording again'