Trust-Guided Behavior Adaptation Using Case-Based Reasoning