grin and bear it vs whistle past the graveyard

grin and bear it

verb
  • To endure a difficult or disagreeable situation with good humour. 

whistle past the graveyard

verb
  • To attempt to stay cheerful in a dire situation; to proceed with a task, ignoring an upcoming hazard, hoping for a good outcome. 

  • To enter a situation with little or no understanding of the possible consequences. 

How often have the words grin and bear it and whistle past the graveyard occurred in a corpus of books? (source: Google Ngram Viewer )