Use protobuf 2.x instead of 3.x

Ignore-AOSP-First: This will go into AOSP, but needs to be submitted
here because the topic includes internal changes.
Bug: 270895633
Test: build

Change-Id: I3a2fcd73b6d34c4314cc81de25601d9b67e73f70
diff --git a/compos/composd/Android.bp b/compos/composd/Android.bp
index b0294dd..f66de32 100644
--- a/compos/composd/Android.bp
+++ b/compos/composd/Android.bp
@@ -22,7 +22,7 @@
         "liblibc",
         "liblog_rust",
         "libodsign_proto_rust",
-        "libprotobuf",
+        "libprotobuf_deprecated",
         "librustutils",
         "libshared_child",
         "libvmclient",