def METHOD_NAME(words: str) -> bytes:
    """
    Receives single mnemonic and processes it. Returns what is then stored
    in the storage, which is the mnemonic itself for BIP-39.
    """
    from trezor.crypto import bip39
    from trezor.errors import MnemonicError
    if not bip39.check(words):
        raise MnemonicError
    return words.encode()