The song was originally written for Roy Orbison and recorded by him in 1987. But the song was only released in 1992, four years after Roy Orbison's death ( Roy Orbison: I Drove All Night (1992)).
So, the Cyndi Lauper's version (1989) was released before the original one.