invalid vs on the up and up

invalid

verb
  • To make invalid or affect with disease. 

  • To exempt from (often military) duty because of injury or ill health. 

adj
  • Not valid; not true, correct, acceptable or appropriate. 

  • Suffering from disability or illness. 

  • Intended for use by an invalid. 

on the up and up

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