I think we all share the objective that members should be able to come and speak freely and without fear of consequences, and that's what the entire concept of parliamentary privilege is meant to protect.
The question you raised, though, is a tricky one about when members are then subjected to or targeted for harassment because of things they said after the fact. How does one best handle that?
If I understood you correctly, it's not necessarily what they get from other members; it's what they get from the general public, and the types of attacks that are now very easy to make behind one's keyboard in one's basement, which are very often done anonymously without any consequences. How to reduce that risk is an interesting challenge, and I think the platforms themselves have some responsibility in trying to police that.
I'm not sure I understood that correctly, but that's a responsibility they're taking very seriously today.