Merge "Add data validator to verify and log abnormal queried history data" into sc-dev am: 2f4ae2a0e4

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14251247

Change-Id: Ide34ed96bbcf818195c22824d3929fb2cad403e9