This is why I favour utilising a loitering munition to make ASW helos a little cautious....the Aerovironment Blackwing is a good example. Basically a sub launched Switchblade...just ISR at present...but it shows the direction of travel...stick a warhead on it and have some AI/machine learning to recognise a helo as a target (and that wouldn't be hard...its quite visually distinctive).
AeroVironment's Blackwing™ can be deployed from a submerged submarine using an underwater-to-surface delivery canister, a surface ship, or mobile ground vehicle via tube or multipack launcher.
www.avinc.com
Doesn't occupy an entire torpedo tube, instead launched from countermeasure dispensers, minimal launch signature from sub or when broaching the surface and flying...
Basically if you detect an ASW helo nearby you pop one out...and the helo has to run....gives you time to disengage and get the hell out of dodge, with the benefit that the Blackwing could be up hunting a target or just circling discouraging a search for 30+ minutes....with more loaded and ready to go if they haven't had the message already...