gooftool: Make the type of probe_results argument consistent.

BUG=None
TEST=Manual on DUT.

Change-Id: Icc25bedc45d310bc0cfe6b29c6b9b4ffd44ae485
Reviewed-on: https://gerrit.chromium.org/gerrit/45762
Commit-Queue: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
diff --git a/py/gooftool/gooftool.py b/py/gooftool/gooftool.py
index c68203f..745fbdb 100755
--- a/py/gooftool/gooftool.py
+++ b/py/gooftool/gooftool.py
@@ -789,7 +789,7 @@
     initial_configs=probe_results.initial_configs)
 
   hwid_object = GetGooftool(options).GenerateHwidV3(
-      device_info, probe_results.Encode())
+      device_info, probe_results)
 
   final_bom = {}
   for component_class, component_values in (
@@ -861,7 +861,7 @@
                  probed_rw_vpd=FilterDict(probed_rw_vpd))
 
   GetGooftool(options).VerifyHwidV3(
-      hwid_str, probe_results.Encode(), probed_ro_vpd, probed_rw_vpd)
+      hwid_str, probe_results, probed_ro_vpd, probed_rw_vpd)
 
   _event_log.Log('verified_hwid', hwid=hwid_str)
   print 'Verification SUCCESS!'