Encode U1DB metadata doc prefix. Closes #4658.