PD shouldn't have removed any of your customized items, unless you specifically clicked on that option during the uninstall where it asked if you wanted to remove all personalized/custom settings.
The default path for the first mask you created is (possibly on OneDrive)
\Documents\CyberLink\PowerDirector\17.0\MyPinPs\PinP_000, with the 3-digit number at the end increasing for each mask you've saved. If you have more than one mask, you'll need to open your project in an XML/text editor like NotePad++ and do a search for
PinP_0, then make note of the actual number used in that mask name.
Then open a new project and import your original mask and save it, then exit PD and rename that PinP_000 folder to match the number in the original project. You will need to do this for each
different mask you have, but you only need to do this one time for each mask.
When you reopen the original project, PD should find the mask(s) right where it expects them, and your project should be fully restored.