The oEmbed links are a set of links that allow your WordPress site to be embedded on another site. It is a discovery URL that allows other sites to consume your content. This module removes the oEmbed links and prevent other sites from embedding your content in their sites.
Activate the Remove oEmbed Links Module
In the Admin Optimizer page, click to enable the Remove oEmbed Links module. Press Save Changes to save the changes.

No configuration is required for this module to work.
Check if the Remove oEmbed links Module is Working
Before activating this module, check the source code (right-click on the web page and click “Inspect”) of your frontend site. In the <head>
section, you should see a type="application/json+oembed"
tag and a type="application/xml+oembed"
tag.

After activating the module, check the source code again. Both the oembed
tags will be gone.