Refactoring SecureSettingsProto to avoid method limit.

I'll do SystemSettingsProto in a separate CL.

Bug: 76011704
Bug: 74975371
Test: flash device and check incident.proto output
and m EMMA_INSTRUMENT_STATIC=true EMMA_INSTRUMENT=true out/target/common/obj/APPS/CtsStatsdApp_intermediates/jacoco/work/instrumented/updated.stamp
and atest CtsIncidentHostTestCases:com.android.server.cts.SettingsIncidentTest

Change-Id: I47d4843ff21bbdde0cdc0a1f5754c22c4e642aa7
3 files changed