The fact that they reached out to her multiple times and insinuated it was supposed to sound like her with Sam's "her" tweet makes a pretty clear connection to her. Without that they'd probably be fine.
Bette Midler sued Ford under very similar circumstances and won.
Scarlett Johansson's character in the movie is not Scarlett Johansson although her voice is very similar. I wouldn't say it's identical.
It'll be interesting to see what happens if she sues and refuses to settle.
But ultimately I'm also not sure. There are some differences that courts could find important. I hope she sues and refuses to settle, so we can find out!