play around vs while away

play around

verb
  • To behave in a silly, childish, or irresponsible way. 

  • To work with something in a non-serious manner; to tweak or tinker. 

  • To engage in sexual practices outside of marriage. 

while away

verb
  • To spend (time) idly but pleasantly 

  • To elapse, to pass. 

How often have the words play around and while away occurred in a corpus of books? (source: Google Ngram Viewer )