hook up vs rewire

hook up

verb
  • To assemble the parts of a mechanism, especially by connecting wires. 

  • To have a casual sexual experience with another person, usually without any future relationship intended. 

  • To connect to something like a power supply or a signal source. 

  • To supply someone with goods or services. 

  • To form an association (with) someone. 

rewire

verb
  • To replace or reconnect the wires of a device or installation. 

  • To change the functionality of something by altering the parameters or logic. 

noun
  • The act of replacing the wires of something 

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