Use the library in bcc_main am: befd9a6c19

Original change: https://android-review.googlesource.com/c/platform/tools/security/+/2049604

Change-Id: Ie4f3ab3a0b944201104673251f25608d44210304
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/remote_provisioning/cert_validator/src/bcc_main.rs b/remote_provisioning/cert_validator/src/bcc_main.rs
index 0c8c3f8..6d2924f 100644
--- a/remote_provisioning/cert_validator/src/bcc_main.rs
+++ b/remote_provisioning/cert_validator/src/bcc_main.rs
@@ -3,15 +3,9 @@
 //! certificates are valid and that any given cert in the series correctly
 //! signs the next.
 
-pub mod bcc;
-pub mod deviceinfo;
-pub mod dice;
-pub mod publickey;
-pub mod valueas;
-
-use std::env;
-
 use anyhow::{ensure, Result};
+use cert_request_validator::bcc;
+use std::env;
 
 fn main() -> Result<()> {
     ensure!(env::args().len() > 1, "Provide at least one bcc certificate file");
@@ -21,4 +15,4 @@
         arr.push(item.to_string());
     }
     bcc::entry::check_sign1_cert_chain(&arr)
-}
\ No newline at end of file
+}