When and Where do Biases Emerge? Memory and Decision Making Across Legal Contexts