enact vs legislate

enact

verb
  • to make (a bill) into law 

  • to do; to effect 

  • to act the part of; to play 

legislate

verb
  • To pass laws (including the amending or repeal of existing laws). 

How often have the words enact and legislate occurred in a corpus of books? (source: Google Ngram Viewer )