Removes Windows dependencies in metadata services

Removes dependencies from utils.windows.x509 in the metadata
services.