Adaptive Guardrails For Large Language Models via Trust Modeling and In-Context Learning