Mental health awareness in legal proceedings