on the old drive try to navigate to
C:\Users\username\AppData\Roaming\Pioneer\rekordbox
the master.db file contains the info and the path below contains the analyzed data (if you need)
C:\Users\username\AppData\Roaming\Pioneer\rekordbox\share\PIONEER\USBANLZ
this is on WIN11 so path "may be" different on WIN10, i mainly use my mac for RB so not sure on too many pc RB details