Add platform support for new software metrics features and changes Google-Bug-Id:459542518 PiperOrigin-RevId: 964332345 Change-Id: I30c7db6ee5e156d1d8b9ad440db9f110a59ed767