Fix proguard to keep RemoteMetadataProvider

These changes should prevent the abstractMethod errors when building with proguard.