Fix check deprecation to use Hidl Metadata.

Bug: 131717099
Test: vts_treble_vintf_vendor_test
Change-Id: I2b9492eeca5daf6bd5b6bb137471c577b9138f32
Merged-In: I2b9492eeca5daf6bd5b6bb137471c577b9138f32
diff --git a/main.cpp b/main.cpp
index 70433b9..5765f9b 100644
--- a/main.cpp
+++ b/main.cpp
@@ -321,8 +321,9 @@
     }
 
     if (vm && fcm) {
-        auto deprecate = VintfObject::CheckDeprecation(&error);
-        std::cout << "VintfObject::CheckDeprecation (against device manifest)? "
+        // TODO(b/131717099): Use correct information from libhidlmetadata
+        auto deprecate = VintfObject::GetInstance()->checkDeprecation({}, &error);
+        std::cout << "VintfObject::CheckDeprecation (against device manifest) (w/o hidlmetadata)? "
                   << deprecateString(deprecate);
         if (deprecate != NO_DEPRECATED_HALS) std::cout << ", " << error;
         std::cout << std::endl;