Beyond rhyming the words “yesterday” and “here to stay” in the opening verse, I’m not hearing a lot of similarities. The melody is totally different. The phrasing is a bit similar here and there but if you could sue for that songwriters would never be out of court.
On the other hand...https://youtu.be/sYiEesMbe2I
"My Sweet Lord" and "He's so fine" are totally different songs to me. Oh well.