Metadata cleanup removes data from AD DS that identifies a domain controller to the replication system. Worst case you could rejoin the domain, but keep in mind that windows is already in a broken state on this instance.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--