Remove master keys while retaining revisions

Operating system

Android

Joplin version

2.14.9

Desktop version info

2.12.5

Sync target

File system

Editor

Markdown Editor

What issue do you have?

I am rewording my previous post.

I am trying to get rid of several master keys. The only method that seems to achieve this involves losing all history/revisions. Is there a way to export all the notes and import all the history/revisions, not just the notes themselves? Alternatively, is there any way to get rid of all master keys permanently, while retaining history/revisions? Thank you.