Legislation could bar people from seeking election if they receive government money