<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_code(data, position, obj_end, opts, element_name):
 """Decode a BSON code to bson.code.Code."""

    code, position = _get_string(data, position, obj_end, opts, element_name)
    return Code(code), position