The former Bachelorette credits Swift's songs for helping her through heartbreak and mental health struggles.