<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_const(protocol_version):
 """Return the const module for the protocol_version."""

    path = next((
        CONST_VERSIONS[const_version]
        for const_version in sorted(CONST_VERSIONS, reverse=True)
        if parse_ver(protocol_version) >= parse_ver(const_version)
    ), 'mysensors.const_14')
    if path in LOADED_CONST:
        return LOADED_CONST[path]
    const = import_module(path)
    LOADED_CONST[path] = const  # Cache the module
    return const