Create a LegacyDataSPKM and set it for all legacy output types and both internal and external chains.
Declared in <wallet/wallet.h>
<wallet/wallet.h>
void SetupLegacyDataSPKM();