cryptohome: indicate migrated fingerprint auth factors by new metadata.

Add a boolean field in FingerprintMetadata both in the proto definition
and in the flatbuffer definition.

Set the field to true when migrating legacy fingerprints.

BUG=b:327048355
TEST=CQ

Change-Id: I2e5ee0ab3752fae951dc02b10602fe3d9d9dfcd8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/5484597
Reviewed-by: John Admanski <jadmanski@chromium.org>
Commit-Queue: Zi Lin <lziest@google.com>
Tested-by: Zi Lin <lziest@google.com>
NOKEYCHECK=True
GitOrigin-RevId: 0467249c908ca3e36186203a19ab0ba18fc7ff94
diff --git a/dbus/cryptohome/auth_factor.proto b/dbus/cryptohome/auth_factor.proto
index ae75100..92b229b 100644
--- a/dbus/cryptohome/auth_factor.proto
+++ b/dbus/cryptohome/auth_factor.proto
@@ -302,7 +302,10 @@
 
 message LegacyFingerprintMetadata {}
 
-message FingerprintMetadata {}
+message FingerprintMetadata {
+  // Set to true when migrated from a legacy fingerprint template.
+  bool was_migrated = 1;
+}
 
 // AuthFactor is a backing store for any secret stored on Chrome OS in the USS
 // World. This proto definition is used to communicate with the client side.