Apply quantum-metadata.patch