Social media have administrative controls allowing the owner to moderate posts. I don’t know why we need more laws than that.
If the terms were violated and the site failed to police - should the family have the right to sue? If not then the agreement is worthless.