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.