indecency vs uprightness

indecency

noun
  • Something showing lack of decency; something (such as a word) that is indecent. 

  • Lack of decency; the property or degree of being indecent 

uprightness

noun
  • The state of being honest, honourable, and moral. 

  • The product or result of being upright. 

  • The state of being erect or vertical. 

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