Co-option and Detoxification of a Phage Lysin for Housekeeping Function