Piece of legislation would allow individuals and organizations to petition to a court which will then decide whether to remove social media content it deems harmful to state security or public safety