Dems, GOP invest in cybersecurity ahead of new elections