It just popped inside my mind that the lyrics are kinda similar theme-wise and Deep Blue was obviously produced by Mark Ronson, and today he confirmed he and Gaga wrote The Shallow.
Could Gaga have used some Joanne outtakes to rework them for the movie?