Extend the generate-update-metadata logic to not query the RPM db but instead pick the versions from the new paths where the grub2 & shim binaries will be installed in /usr/lib/(shim|grub)/%{version}-%{release}/EFI/... when we land https://fedoraproject.org/wiki/Changes/BootLoaderUpdatesPhase1.
See:
Draft PRs for GRUB & shim that will use the new paths: