def METHOD_NAME():
    prefix = "M"
    new_public_primary_key = generate_public_primary_key(prefix)
    failure_counter = 0
    while ResolutionNote.objects.filter(public_primary_key=new_public_primary_key).exists():
        new_public_primary_key = increase_public_primary_key_length(
            failure_counter=failure_counter, prefix=prefix, model_name="ResolutionNote"
        )
        failure_counter += 1
    return new_public_primary_key