Fixes regarding to comments in ag/2839267

1. use struct {} to instantiate privacy fields for efficiency reason
2. use vector<uint8_t>* instead of vector<uint8_t>& to indicate the
caller knows the value gets changed.
3. binary search privay policy for sections

Bug: 65595927
Test: unit test covers
Change-Id: Ic58c2f607465d1a7f10352b9a38c3d8b1a5cf352
diff --git a/Android.bp b/Android.bp
index 33acffa..72ea24c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -42,6 +42,7 @@
                 "core/proto/android/os/kernelwake.proto",
                 "core/proto/android/os/procrank.proto",
                 "core/proto/android/service/graphicsstats.proto",
+                "libs/incident/proto/android/privacy.proto",
             ],
             shared: {
                 enabled: false,