Bluetooth metadata API changes in SettingsLib

* Align with the changes of Bluetooth metadata API.
* Move metadata utils from Settings to SettingsLib.

Bug: 124448651
Test: make -j56 RunSettingsLibRoboTests
Change-Id: I431e7bcbd8123eacf0ed3b5ba87af6cc54670481
4 files changed