Yes first do a repair
Do not setup the phone, just shutdown again.
Flash with Flashtool
Do a factory reset from the settings on the phone
And done !
Losing DRM keys is something you will only do when rooting the device.
But there are no guarantees here, it is always a risk when flashing that...