Years in the making, the federal government is poised to introduce a new piece of legislation on Monday aimed at addressing a series of online harms.