Draft commit of asset history export.
(cherry-picked from 233b6cf)
Some corrections for commit 233b6cf38caee7d70a05369f6e1716f0018da8a7.
(cherry-picked from f75b43a)
Completed asset history migration.
(cherry-picked from 31b1ad5)