Government introduces legislation to counter foreign interfe