Provided that when any fact is deposed to as discovered in consequence of information received from a person accused of any offense, in the custody of a police officer, so much of such information, whether it amounts to a confession or not, as relates distinctly to the fact discovered, may be proved.